#pragma once
#include "physicsobject.h"
#include "MeshGeometry.h"
#include "SimpleRender.h"



// a havok sphere combined with a D3DMesh sphere
class PhysicsBall :
	public PhysicsObject
{
public:
	PhysicsBall(void)
	{
		radius = 1;
		BallColour = D3DXCOLOR(1,1,1,1);
	}

	PhysicsBall(float radius)
	{
		this->radius = radius;
		BallColour = D3DXCOLOR(1,1,1,1);
	}

	D3DXCOLOR BallColour; // colour of the ball

	virtual void CreateGeometry();
	virtual void CreatePhysicsObject();

protected:
	float radius; // radius of ball

};
